package com.seth.myapplication.bean;

/**
 * Created by Seth on 2017/10/31.
 */

public class TaskType {
    private static final String type1 = "杂事代办";
    private static final String type2 = "学习服务";
    private static final String type3 = "专业技能";
    private static final String type4 = "游戏服务";
    private static final String type5 = "其他";


    public static String getType(int tp) {
        if(tp==0)
            return type1;
        else if(tp==1)
            return type2;
        else if(tp==2)
            return type3;
        else if(tp==3)
            return type4;
        else if(tp==4)
            return type5;
        return type1;
    }
}
